<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <import type="css" file="css.whole"/>

    <import type="css" file="css.update"/>
</head>
<body>
<form  method="post" action="{:U('admin/index/update')}">
    <ul>
        <li>序列号：<input type="text" readonly value="{$sql['id']}" style="color: grey" name="id"/></li>
        <li>学号：<input type="text" readonly value="{$sql['username']}" style="color: grey"/></li>
        <li>名字：<input type="text" readonly value="{$sql['name']}"  style="color: grey" /></li>
        <li>性别：<input type="text" readonly value="{$str}" style="color: grey"/></li>
        <li>学院：<input type="text" readonly value="{$sql['xueyuan']}" style="color: grey"/></li>
        <li>专业：<input type="text" readonly value="{$sql['sc']}" style="color: grey"/></li>
        <li>手机号码：<input type="text" name="tel" value="{$sql['tel']}"/></li>
        <li>邮箱：<input type="text" name="email" value="{$sql['email']}"/></li>
        <li>密码：<input type="text" name="pass1" value="{$sql['password']}"/></li>
        <li>确认密码：<input type="text" name="pass2"/></li>
    </ul>
    <ul>
        <li><input type="submit" value="一键修改" name="sub" /></li>
    </ul>
</form>
</body>
</html>